package com.hd.trans.homefun

enum class EventCode(val code: Int, var eventName: String){
    //Default
    ALL(-1, "无意义"),
    DEFAULT(0, "默认"),
    CHECK_VIP(1, "查询是否为VIP"),
    CHECK_FUNCTION_SWITCH_A(2, "拍照翻译体验窗口开关"),
    PERMISSION(3, "权限拦截"),
    PERMISSION_STORAGE(4, "存储权限拦截"),

    // PageType
    TEXT_TRANSLATE(101, "文本翻译"),
    VOICE_TRANSLATE(102, "语音翻译"),
    SIMUL_TRANSLATE(103, "同声传译"),
    CAMERA_TRANS(104, "拍照翻译"),
    WEB_TRANS(105, "网页翻译"),
    WORD_TRANS(106, "取词翻译"),
    AR_TRANS(107, "AR翻译"),
    OFFLINE_TRANS(108, "离线翻译"),
    AI_TRANS(109, "AI翻译"),
    VOICE_FIRST_AID_KIT(110, "语音急救包"),
    VOICE_PLAY_SETTING(111, "语音播放设置"),

    // Text
    TEXT_HISTORY(1026, "点击文本历史记录"),
    TEXT_COPY(1020, "复制原文与结果"),
    TEXT_SHARE_WORD(1021, "文本分享Word"),
    TEXT_SHARE_TXT(1022, "文本分享TXT"),
    TEXT_SHARE_PDF(1023, "文本分享PDF"),

    // Voice
    VOICE_EDIT_TRANSLATED(1028, "翻译结果编辑"),
    VOICE_COPY_TRANSLATED(1029, "语音翻译结果复制"),
    VOICE_SHARE_TRANSLATED(1030, "语音翻译分享"),
    VOICE_DELETE_TRANSLATED(1031, "语音翻译删除"),
    VOICE_EDIT_TRANSLATED_CONFRIM(1032, "语音翻译结果编辑，确定按钮"),
    VOICE_SHARE_WORD(1017, "语音翻译分享Word"),
    VOICE_SHARE_TXT(1018, "语音翻译分享Txt"),
    VOICE_SHARE_PDF(1019, "语音翻译分享PDF"),

    // Simul
    SIMUL_COPY_TRANSLATED(1034, "同声传译翻译结果复制"),
    SIMUL_COPY_ORIGINAL(1035, "同声传译源文复制"),
    SIMUL_ROTATE_TRANSLATED(1036, "同声传译翻转文本"),

    // nation
    TEXT_NATION_TRANSLATE(1037, "点击民族语言文本翻译"),
    TEXT_NATION_HISTORY(1038, "点击民族语言文本历史记录"),
    TEXT_NATION_COPY(1039, "复制民族语言原文与结果"),

    // Voice
    VOICE_PLAY_ORIGINAL(1040, "语音播放-原文"),
    VOICE_PLAY_TRANS(1041, "语音播放-译文"),

    // AI
    AI_TRANS_SEND(1048, "AI翻译_发送"),
    AI_TRANS_QUESTION(1049, "AI翻译_示例问题"),

    // System
    PERMISSION_SYSTEM_ALERT_WINDOW(1050, "悬浮窗权限"),
}